package com.lhh.myspringboot.interfac;


import org.springframework.stereotype.Component;

/**
 * 时间校验
 */

@Component
public class TimeCheck implements CheckParam{


    @Override
    public CheckParamEnum getCode() {
        return CheckParamEnum.TimeCheck;
    }

    /**
     * 时间校验逻辑
     */
    @Override
    public void check() {

        System.out.println("时间校验");
    }
}
